
// 关闭模态框
function hide () {
    return {
        type: "modal-hide"
    }
}

// 打开模态框
function show () {
    return {
        type: "modal-show"
    }
}

function changeTitle (title) {
    return {
        type: "change-modal-title",
        payload: title
    }
}

export { show, hide, changeTitle }